-- GENERATED SPELL FOR [Tazan] --


function spell0_6494(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6494', 2318, 1)
end

function Sorts_6494(pUnit, Event)
local choix_sorts_6494 = math.random(0, 0)
if choix_sorts_6494 == 0 then
pUnit:RegisterEvent('spell0_6494', 1, 1)
end
end

function mob6494_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6494', math.random(1500, 3000), 1)
end

function mob6494_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6494_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6494_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6494, 1, 'mob6494_Action')
RegisterUnitEvent(6494, 2, 'mob6494_Leave')
RegisterUnitEvent(6494, 3, 'mob6494_Kill')
RegisterUnitEvent(6494, 4, 'mob6494_Die')
